package com.example.basicdemo.model.builder;

import com.isyscore.os.dev.api.IsyscoreRequestBuilder;
import com.isyscore.os.dev.util.IsyscoreHashMap;

/**
 * 获取子孙节点信息
 */
public class GetRentalChildRequestBuilder extends IsyscoreRequestBuilder {

    private IsyscoreHashMap headers;

    /**
     * 组织Id
     */
    private Integer rentalId;

    /**
     * 组织类型Id
     */
    private Integer type;

    public Integer getRentalId() {
        return rentalId;
    }

    public GetRentalChildRequestBuilder setRentalId(Integer rentalId) {
        this.rentalId = rentalId;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public GetRentalChildRequestBuilder setType(Integer type) {
        this.type = type;
        return this;
    }

    public IsyscoreHashMap getHeaders() {
        return headers;
    }

    public GetRentalChildRequestBuilder setHeaders(IsyscoreHashMap headers) {
        this.headers = headers;
        return this;
    }

    /**
     * 验证请求对象
     *
     * @return
     */
    @Override
    public boolean validate() {
        return false;
    }
}
